<form id="user-base" action="{{route('b_User_editUser',['id'=>$info->member_id,'action'=>'base'])}}" method="post">
    {{csrf_field()}}

    @component('backend::component.form.form-group')
        @slot('title') 会员姓名 @endslot
        @component('backend::component.form.input')
            @slot('name') real_name @endslot
            @slot('value') {{$info->real_name}} @endslot
{{--            @slot('attr') disabled @endslot--}}
        @endcomponent
    @endcomponent

    @component('backend::component.form.form-group')
        @slot('title') 手机号 @endslot
        @component('backend::component.form.input')
            @slot('name') user_phone @endslot
            @slot('value') {{$info->user_phone}} @endslot
        @endcomponent
    @endcomponent

    @component('backend::component.form.form-group')
        @slot('title') 邮箱 @endslot
        @component('backend::component.form.input')
            @slot('name') user_email @endslot
            @slot('value') {{$info->user_email}} @endslot
        @endcomponent
    @endcomponent

    @component('backend::component.form.form-group')
        @slot('title') 当前油补可领天数 @endslot
        @component('backend::component.form.input')
            @slot('name') gz_day_can @endslot
            @slot('value') {{$info->gz_day_can}} @endslot
        @endcomponent
    @endcomponent
    @component('backend::component.form.form-group')
        @slot('title') 当前油补已领天数 @endslot
        @component('backend::component.form.input')
            @slot('name') gz_day_had @endslot
            @slot('value') {{$info->gz_day_had}} @endslot
        @endcomponent
    @endcomponent

        @component('backend::component.form.form-group')
                @slot('title') 当前每日油补 @endslot
                @component('backend::component.form.input')
                        @slot('name') gz_day_val @endslot
                        @slot('value') {{$info->gz_day_val}} @endslot
                @endcomponent
        @endcomponent

    @component('backend::component.form.form-group')
        @slot('title') 级别 @endslot
        <div>
            @foreach(config('shop.level') as $value=>$title)
                @component('backend::component.radio')
                    @slot('title') {{$title}} @endslot
                    @slot('name') level @endslot
                    @slot('value') {{$value}} @endslot
                    @if($value == ($info->level ?? 0))
                        @slot('checked') checked @endslot
                    @endif
                @endcomponent
            @endforeach
        </div>
    @endcomponent
        @component('backend::component.form.form-group')
                @slot('title') 粉丝级别 @endslot
                <div>
                        @foreach(config('shop.fs_level') as $value=>$title)
                                @component('backend::component.radio')
                                        @slot('title') {{$title}} @endslot
                                        @slot('name') fs_level @endslot
                                        @slot('value') {{$value}} @endslot
                                        @if($value == ($info->fs_level ?? 0))
                                                @slot('checked') checked @endslot
                                        @endif
                                @endcomponent
                        @endforeach
                </div>
        @endcomponent
    @component('backend::component.form.form-group')
        @slot('title') 车队级别 @endslot
        <div>
            @foreach(config('shop.cd_level') as $value=>$title)
                @component('backend::component.radio')
                    @slot('title') {{$title}} @endslot
                    @slot('name') cd_level @endslot
                    @slot('value') {{$value}} @endslot
                    @if($value == ($info->cd_level ?? 0))
                        @slot('checked') checked @endslot
                    @endif
                @endcomponent
            @endforeach
        </div>
    @endcomponent




    @component('backend::component.form.button')
        @slot('title') 提交 @endslot
        @slot('size') sm @endslot
        @slot('params') {"formId":"#user-base"} @endslot
        @slot('class') btn-min-width ajax-form @endslot
    @endcomponent
</form>